package com.liy.cloud.common.yy.service.impl;

import com.das.framework.common.vo.PageVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.liy.cloud.common.yy.dao.YyEquVersionDao;
import com.liy.cloud.common.yy.entity.YyEquVersion;
import com.liy.cloud.common.yy.service.YyEquVersionService;
import com.das.framework.common.dao.IBaseDao;
import com.das.framework.common.service.impl.BaseServiceImpl;

import java.util.List;

/**
 * 设备参数版本表 Service接口服务实现
 * @ClassName: YyEquVersionServiceImpl
 * @Description: 
 * @author libs
 * @date: 2018-08-14 13:07:08
 */
@Service
public class YyEquVersionServiceImpl extends BaseServiceImpl<YyEquVersion, String> implements YyEquVersionService{

  @Autowired
  private YyEquVersionDao yyequversionDao;
  
  @Override
  public IBaseDao<YyEquVersion, String> getDao() {
    return yyequversionDao;
  }

  @Override
  public List<YyEquVersion> listByPage(List<String> deviceIds, PageVO page) {
    return yyequversionDao.selectListByPage(deviceIds, page);
  }
}